enable_testing()

add_executable(test_gnd_message_from_bin
    test_gnd_message_from_bin.c)
target_link_libraries(test_gnd_message_from_bin gnd)
add_test(NAME gnd_message_from_bin
    COMMAND test_gnd_message_from_bin)
set_tests_properties(gnd_message_from_bin
    PROPERTIES PASS_REGULAR_EXPRESSION "succeed")

add_executable(test_gnd_message_to_bin
    test_gnd_message_to_bin.c)
target_link_libraries(test_gnd_message_to_bin gnd)
add_test(NAME gnd_message_to_bin
    COMMAND test_gnd_message_to_bin)
set_tests_properties(gnd_message_to_bin
    PROPERTIES PASS_REGULAR_EXPRESSION "succeed")
